@extends('admin.layouts.admin')

@section('content')
	<h1>Raids</h1>
	<div class="panel panel-info">
		<div class="panel-heading">
			Liste des raids
		</div>
		<div class="table-responsive">
			<table class="table table-striped table-hover">
				<thead>
					<tr>
						<th>Instance</th>
						<th>Date</th>
						<th>Take action !</th>
					</tr>
				</thead>
				<tbody>
					@foreach($raids as $raid)
						<tr>
							<td> {{ $raid->instance }} </td>
							<td> {{ $raid->date }} </td>
							<td>
								<a href="#" class="btn btn-success">
									<span class="glyphicon glyphicon-eye-open"></span>
									Membres
								</a>
								<a href="#" class="btn btn-primary">
									<span class="glyphicon glyphicon-edit"></span>
									Editer
								</a>
								<a href="#" class="btn btn-danger">
									<span class="glyphicon glyphicon-remove"></span>
									Supprimer
								</a>
							</td>
						</tr>
					@endforeach
				</tbody>
			</table>
		</div>
	</div>
	{{ $raids->links() }}
@stop